package cn.edu.gdgm.system.dto;

public enum RestResultType {

    OK(0, "Ok"),

    REQUEST_PARAMETER(10000, "Http Request Parameter")
    ;

    private final int code;
    private final String defaultMsg;

    RestResultType(int code, String defaultMsg) {
        this.code = code;
        this.defaultMsg = defaultMsg;
    }

    public int getCode() {
        return code;
    }

    public String getDefaultMsg() {
        return defaultMsg;
    }
}
